import { $t } from "@/plugins/i18n";
import { home } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/finance",
  name: "Finance",
  component: Layout,
  redirect: "/finance/list",
  meta: {
    icon: "ep:document",
    title: "财务管理",
    rank: home + 7
  },
  children: [
    {
      path: "/finance/list",
      name: "FinanceList",
      component: () => import("@/views/finance/list.vue"),
      meta: {
        title: "财务记录列表"
      }
    },
    {
      path: "/finance/create",
      name: "FinanceCreate",
      component: () => import("@/views/finance/create.vue"),
      meta: {
        title: "新增财务记录"
      }
    }
  ]
} satisfies RouteConfigsTable;